package com.letfox.ad.enums;

/**
 * 广告投放素材数据格式
 */
public class MaterialEnums {
	
	public static final String AD_MATER_TYPE = "AD_MATER_TYPE";
	
	public static final String AD_SCHEDULE_HOUR = "AD_MATER_POS";
	
	public static final String DEL = "DEL";
	
	/**
	 * 创意类型枚举
	 */
	public enum Originality{
		PICTURE("图片","1"),
		VIDEO("视频","2"),
		WRITTEN("文字","3"),
		IMAGETXT("图文并茂","4");
		
		private String name;
		private String value;

		private Originality(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 广告位枚举
	 */
	public enum AdvertisingPosition{
		TABLEEP("插屏","1"),
		VIDEO("视频","2"),
		INFO("信息流","3"),
		BANNER("横幅","4");
		
		private String name;
		private String value;

		private AdvertisingPosition(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 数据枚举
	 */
	public enum Date{
		YES("有效","0"),NO("无效","1");
		
		private String name;
		private String value;

		private Date(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
}
